<?php
require 'autoload.php';

$factory = new \DesignPatterns\Creator\SimpleFactory\Factory();
foreach (['+', '-', '*', '/'] as $operator) {
    $operation = $factory->create($operator);
    $operation->setNumberA(1);
    $operation->setNumberB(6);
    var_dump($operation->getResult());
}
